// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import Layout from '@/layout'

const computerRouter = {
  path: '/computer',
  component: Layout,
  redirect: '/computer/index',
  name: 'Computer',
  meta: {
    title: '办公信息化设备',
    icon: 'clipboard',
  },
  children: [
    {
      path: 'index',
      name: 'computerIndex',
      component: () => import('@/views/computer/index'),
      meta: {
        title: '其他设备管理',
        icon: 'clipboard',
      },
    },
    {
      path: 'equipIndex',
      name: 'equipIndex',
      component: () => import('@/views/computer/equip_index'),
      meta: {
        title: '科研电脑终端',
        icon: 'clipboard',
      },
    },
    {
      path: 'singleIndex',
      name: 'singleIndex',
      component: () => import('@/views/computer/single_index'),
      meta: {
        title: '业务单机电脑管理',
        icon: 'clipboard',
      },
    },
    {
      path: 'cameraIndex',
      name: 'cameraIndex',
      component: () => import('@/views/computer/camera_index'),
      meta: {
        title: '移动硬盘管理',
        icon: 'clipboard',
      },
    },
    {
      path: 'printIndex',
      name: 'printIndex',
      component: () => import('@/views/computer/print_index'),
      meta: {
        title: '打印机管理',
        icon: 'clipboard',
      },
    },
    {
      path: 'laptopIndex',
      name: 'laptopIndex',
      component: () => import('@/views/computer/laptop_index'),
      meta: {
        title: '笔记本电脑管理',
        icon: 'clipboard',
      },
    },
    {
      path: 'officeIndex',
      name: 'officeIndex',
      component: () => import('@/views/computer/office_index.vue'),
      meta: {
        title: '办公电脑管理',
        icon: 'clipboard',
      },
    },
    {
      path: 'secrecy',
      name: 'Secrecy',
      component: () => import('@/views/computer/secrecy'),
      meta: {
        title: '保密文件',
        icon: 'clipboard',
      },
    },
  ]
}

export default computerRouter  //collate
